package com.brillilab.dao.mapper.topics;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.topics.TopicMember;
import com.brillilab.domain.vo.lab.MemberInfoVo;
import com.brillilab.domain.vo.topics.TopicMemberVo;

public interface TopicMemberMapper extends BaseMapper<TopicMember> {
    int insertBatch(List<TopicMember> list);

    List<TopicMemberVo> selectVoList(@Param("labId") Long labId,@Param("topicId") Long topicId,@Param("state") Integer state);

	List<Long> getIdenticalTopicLabMemberIds(@Param("labMemberId")Long labMemberId);
	
	List<Long> selectTopicIds(@Param("labId") Long labId,@Param("labMemberId") Long labMemberId);

	int getTopicNum(@Param("loginerId") Long loginerId,@Param("labMemberId") Long labMemberId);
}
